package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author: 王秀田
 * @date: 2024/11/6 16:43
 * @description: 省份表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_province")
@ApiModel(value="GeConProvince对象", description="省份")
public class GeConProvince implements Serializable {

    private static final long serialVersionUID = -5285769090026642719L;

    @ApiModelProperty(value = "省份ID")
    private String id;

    @ApiModelProperty(value = "地区名")
    private String name;

    @TableField(exist = false)
    private List<GeConCity> city;

}
